package springsecurity.dao.enums;

/**
 * Created with IntelliJ IDEA.
 *
 * @User: c.c
 * @Date: 2022/6/14
 * @Time: 14:24
 * @Description:
 */

public interface  AuthorityConstants {
    /**
     * 标识需要验证登录
     */
    String PERMIT_ALL = "permitAll";
    /**
     * 标识需要验证登录
     */
    String AUTHENTICATED = "authenticated";
    /**
     * 标识需要验证权限
     */
    String AUTHORIZATION = "authorization";
    /**
     * 标识需要访问资源不在权限控制范围
     */
    String NON_AUTH = "nonAuth";
    /**
     * 用户权限-角色前缀
     */
    String ROLE_PREFIX = "ROLE_";
    /**
     * 用户权限-特有权限前缀
     */
    String AUTH_PREFIX = "AUTH_";
    /**
     * 用户权限-特有排除权限前缀
     */
    String NON_AUTH_PREFIX = "NON_AUTH_";
}
